import QtQuick 2.0

Item{
    id:root
    property var  target
    property int  _time:300

    property alias _out: _out
    property alias _in: _in

    Transition {
        id:_out
        PropertyAnimation {
            target: target
            property: "scale"
            from: 1
            to: 0.8
            duration:_time
        }
    }

    Transition {
        id:_in
        PropertyAnimation {
            target: target
            property: "scale"
            from: 0.8
            to: 1
            duration:_time
        }
    }
}
